<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"
	import="com.cdshop.entity.Cart,com.cdshop.dao.CartDAO,com.cdshop.web.PageUtil"%>
<%
	Long cid = new Long(request.getParameter("cid"));

	boolean ret = CartDAO.instance().delete(cid);
	response.setContentType("text/jason");
	out.write(PageUtil.json().add("ret", ret).value());
	out.flush();
%>